﻿<%@ Page Title="积分管理" Language="C#" MasterPageFile="~/POS/POS.Master" AutoEventWireup="true" CodeBehind="UpdatePoint.aspx.cs" Inherits="Me.Amon.POS.UpdatePoint" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 360px" valign="top" align="left">
                        <table border="0" cellpadding="3" cellspacing="0" class="dialog" width="350">
                            <tr>
                                <th align="right" style="width: 120px" bgcolor="#FAFAFA">
                                    会员编码：
                                </th>
                                <td align="left">
                                    <asp:Label ID="LlCode" runat="server"></asp:Label>
                                    <asp:HiddenField ID="HfId" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <th align="right" bgcolor="#FAFAFA">
                                    会员姓名：
                                </th>
                                <td align="left">
                                    <asp:Label ID="LlName" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <th align="right" bgcolor="#FAFAFA">
                                    生日：
                                </th>
                                <td align="left">
                                    <asp:Label ID="LlBirthday" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <th align="right" bgcolor="#FAFAFA">
                                    手机：
                                </th>
                                <td align="left">
                                    <asp:Label ID="LlCellphone" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <th align="right" bgcolor="#FAFAFA">
                                    电话：
                                </th>
                                <td align="left">
                                    <asp:Label ID="LlTelephone" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <th align="right" bgcolor="#FAFAFA">
                                    级别：
                                </th>
                                <td align="left">
                                    <asp:HyperLink ID="HlLevel" runat="server">HyperLink</asp:HyperLink>
                                    <asp:HiddenField ID="HfLevel" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <th align="right" bgcolor="#FAFAFA">
                                    积分：
                                </th>
                                <td align="left">
                                    <asp:Label ID="LlPoint" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <th align="right" bgcolor="#FAFAFA">
                                    <span class="notice">* </span>调整：
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbPoint" runat="server" Width="60px">0</asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th align="right" valign="top" bgcolor="#FAFAFA">
                                    <span class="notice">* </span>备注：
                                </th>
                                <td align="left">
                                    <asp:TextBox ID="TbRemark" runat="server" TextMode="MultiLine" Rows="4" Width="200px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Label ID="LlErr" runat="server" CssClass="failureNotification"></asp:Label>
                                </td>
                            </tr>
                        </table>
                        <asp:Button ID="BnAppend" runat="server" Text="追加" OnClick="BnAppend_Click" />
                        <asp:Button ID="BnCancel" runat="server" Text="返回" OnClick="BnCancel_Click" />
                        <asp:HiddenField ID="HfPage" runat="server" Value="0" />
                    </td>
                    <td align="center" valign="top">
                        <table border="0" cellpadding="4" cellspacing="0" class="data_list" width="560px">
                            <tr class="data_head">
                                <th>
                                    获得时间
                                </th>
                                <th>
                                    积分
                                </th>
                                <th>
                                    积分来源
                                </th>
                                <th>
                                    订单
                                </th>
                                <th>
                                    备注
                                </th>
                            </tr>
                            <asp:Repeater ID="RpPoints" runat="server">
                                <ItemTemplate>
                                    <tr class="data_rowd">
                                        <td>
                                            <%# Eval(Me.Amon.Da.Db.OMS.DCustomerPoint.CREATE_TIME)%>
                                        </td>
                                        <td>
                                            <%# Eval(Me.Amon.Da.Db.OMS.DCustomerPoint.POINT)%>
                                        </td>
                                        <td>
                                            <%# Me.Amon.OMS.M.MCustomerPoint.GetSource(Eval(Me.Amon.Da.Db.OMS.DCustomerPoint.SOURCE))%>
                                        </td>
                                        <td>
                                            <%# Eval(Me.Amon.Da.Db.OMS.DCustomerPoint.SO_CODE)%>
                                        </td>
                                        <td>
                                            <%# Eval(Me.Amon.Da.Db.OMS.DCustomerPoint.REMARK)%>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <tr class="data_rowd">
                                        <td>
                                            <%# Eval(Me.Amon.Da.Db.OMS.DCustomerPoint.CREATE_TIME)%>
                                        </td>
                                        <td>
                                            <%# Eval(Me.Amon.Da.Db.OMS.DCustomerPoint.POINT)%>
                                        </td>
                                        <td>
                                            <%# Me.Amon.OMS.M.MCustomerPoint.GetSource(Eval(Me.Amon.Da.Db.OMS.DCustomerPoint.SOURCE))%>
                                        </td>
                                        <td>
                                            <%# Eval(Me.Amon.Da.Db.OMS.DCustomerPoint.SO_CODE)%>
                                        </td>
                                        <td>
                                            <%# Eval(Me.Amon.Da.Db.OMS.DCustomerPoint.REMARK)%>
                                        </td>
                                    </tr>
                                </AlternatingItemTemplate>
                            </asp:Repeater>
                            <tr>
                                <td colspan="7" align="right">
                                    <asp:LinkButton ID="HlHome" runat="server" OnClick="HlHome_Click">首页</asp:LinkButton>
                                    <asp:Label ID="LlPrev" runat="server">...</asp:Label>
                                    <asp:LinkButton ID="HlPage1" runat="server" OnClick="HlPage1_Click">HyperLink</asp:LinkButton>
                                    <asp:LinkButton ID="HlPage2" runat="server" OnClick="HlPage2_Click">HyperLink</asp:LinkButton>
                                    <asp:LinkButton ID="HlPage3" runat="server" OnClick="HlPage3_Click">HyperLink</asp:LinkButton>
                                    <asp:Label ID="LlNext" runat="server">...</asp:Label>
                                    <asp:LinkButton ID="HlLast" runat="server" OnClick="HlLast_Click">尾页</asp:LinkButton>
                                    <asp:Label ID="LlPage" runat="server">HyperLink</asp:Label>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
